package com.pxmeta.dynamic.converter;

import com.pxmeta.dynamic.entity.Dynamic;
import com.pxmeta.dynamic.entity.dto.CommunityDTO;
import org.springframework.beans.BeanUtils;

public class CommunityConverter {

    public static CommunityDTO toDtoList(Dynamic content){
        CommunityDTO dto = new CommunityDTO();
        BeanUtils.copyProperties(content,dto);
        return dto;
    }


}
